<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta http-equiv="Access-Control-Allow-Origin" content="*">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="format-detection" content="telephone=no">
		<title>北京博烨教育后台管理系统</title>
		<meta name="keywords" content="简单实用,响应式,LayUI,后台管理,系统,HTML5网页模板" />
		<meta name="description" content="简单实用响应式LayUI后台管理系统HTML5网页模板下载。温馨提示：请先将项目部署到 localhost 下再进行访问【建议通过tomcat、webstorm、hb等方式运行，不建议通过iis方式运行】，否则部分数据将无法显示。js代码(www.jsdaima.com)" />
		<link rel="icon" href="favicon.ico">
		<!-- 网页顶部头图标 -->
		<link rel="stylesheet" href="layui/css/layui.css" />
		<!-- layui   css样式表 -->
		
		<!-- 公用的css样式表 -->
		<link rel="stylesheet" href="css/index.css" />
		<!-- 后台首页样式表 -->
		<link rel="stylesheet" href="css/bootstrap.css" />
		<link rel="stylesheet" type="text/css" href="css/public.css" />
		
		<script type="text/javascript" src="js/jquery-2.1.1.js"></script>
		<script type="text/javascript" src="js/public.js"></script>
		<script type="text/javascript" src="layui/layui.js"></script>
		<script type="text/javascript" src="js/index.js"></script>
		<script type="text/javascript">
			if(!window.sessionStorage["userId"]) {
				alert('请登录!');
				window.location.href = "index.html";
			}
			
		</script>
	</head>

	<body class="main_body white">
		<div id="admin" class="layui-layout layui-layout-admin">
			<!-- 顶部 -->
			<div class="layui-header header lt">
				<div class="layui-main mag0">
					<a href="#" class="logo" alt="文字标题">北京博烨教育后台管理系统</a>
					<a href="#" class="logo" alt="图片">

					</a>

					<!-- 显示/隐藏菜单 -->
					<a href="javascript:;" class="seraph hideMenu icon-caidan"></a>

					<!-- 顶部右侧菜单 -->
					<ul class="layui-nav top_menu">
						<!-- <li class="layui-nav-item" pc>
							<a href="javascript:;" class="clearSession"><i class="layui-icon" data-icon="&#xe640;">&#xe640;</i><cite style="padding-left: 2px;">清除缓存</cite></a>
						</li> -->
						<li class="layui-nav-item " id="userInfo">
							<a href="javascript:;">
								<img class="admin" src="img/logo.png" class="layui-nav-img userAvatar" width="35" height="35">
								<script language="javascript" type="text/javascript">
									document.write("<span>" + window.sessionStorage["userName"] + "</span>");
									document.write("<span id='userId' style='display:none;'>" + window.sessionStorage["userId"] + "</span>");
								</script>
								<cite class="adminName"></cite>&nbsp;</a>
							<dl class="layui-nav-child">
								<!-- <dd><a href="javascript:;" data-url="page/user/userInfo.html"><i class="layui-icon">&#xe66f;</i><cite>个人资料</cite></a></dd>
								<dd><a href="javascript:;" data-url="page/user/changePwd.html"><i class="layui-icon ">&#xe770;</i><cite>修改密码</cite></a></dd> -->
								<dd>
									<a id="logout" class="signOut"><i class="layui-icon">&#xe682;</i><cite>退出</cite></a>
								</dd>
							</dl>
						</li>
					</ul>
				</div>
			</div>

			<div class=" main_body_content" style="overflow: hidden;">
				<!-- 左侧导航 -->
				<div class="layui-side layui-bg-black lt ">
					<div class="navBar layui-side-scroll" id="navBar">
						<ul class="layui-nav layui-nav-tree">
							<li class="layui-nav-item layui-this">
								<!--layui-nav-itemed-->
								<a >
									<i class="layui-icon  layui-icon-face-smile-b"></i>
									<cite>学生管理</cite>
								</a>
								<dl class="layui-nav-child educationTypehtmlleft" >
								    <!--//此处应该使用动态数据-->
									<!--<dd>
										<a data-url="page/main.html" onclick="condition(this,0);" class="text-center">全部学生</a>
									</dd>-->
									
								</dl>
							</li>
							<li class="layui-nav-item layui-this">
								<a href="javascript:;" data-url="page/user/userList/userList.html">
									<i class="layui-icon layui-icon-friends" data-icon=""></i>
									<cite>用户管理</cite>
								</a>

							</li>
							<script type="text/javascript">
								htmls=""
								if(window.sessionStorage["scale"] == 1||window.sessionStorage["scale"] == 4) {
											document.write(`
												<li class="layui-nav-item layui-this">
												    <a href="javascript:;" data-url="page/user/output/output.html">
														<i class="layui-icon layui-icon-fonts-strong" data-icon=""></i>
														<cite>支出费用</cite>
													</a>
												    
												  </li>
												  <li class="layui-nav-item layui-this">
												    <a href="javascript:;" data-url="page/class/class.html">
														<i class="layui-icon layui-icon-fonts-strong" data-icon=""></i>
														<cite>挂课账户</cite>
													</a>
												    
												  </li>
											`);
								}
								htmls+=`
									<li class="layui-nav-item layui-this">
										<a >
											<i class="layui-icon  layui-icon-face-smile-b"></i>
											<cite>渠道扩展</cite>
										</a>
										<dl class="layui-nav-child" id="kuanzhan">`;
										if(window.sessionStorage["scale"] == 1||window.sessionStorage["scale"] == 4) {
													htmls+=`<dd>
														<a data-url="page/resourse/resou.html"  class="text-center">企业信息</a>
													</dd>`;
										}
											htmls+=`   <dd>
															<a data-url="page/resourse/prointroduce.html"  class="text-center">项目列表</a>
														</dd>
														<dd>
															<a data-url="page/resourse/resourcedetails.html"  class="text-center">项目信息</a>
														</dd>
														<dd>
															<a data-url="page/resourse/educational.html"  class="text-center">第二学历</a>
														</dd>
														
													</dl>
												</li>`;
												document.write(htmls);
							</script>

						</ul>
					</div>
				</div>
				<!-- 主体内容 -->
				<div class="layui-tab-content clildFrame">
					<div class="layui-show">
						<div class="main_hd with_extra">
						</div>
						<iframe src="page/main.html" frameborder="0" id="iframe"> </iframe>
						<!--scrolling="yes" -->
					</div>
				</div>
			</div>
			<div class="footer">
				<p><span>&copy; <script>document.write(new Date().getFullYear());</script> 北京博烨教育
			</div>
		</div>
		<!-- 移动导航 -->
		<div class="site-mobile-shade"></div>
		<div class="site-tree-mobile"><i class="layui-icon">&#xe66b;</i></div>
		<!-- 返回顶部 -->
		<div class="back-to-top" title="返回顶部"><i class="layui-icon">&#xe619;</i></div>
		<script type="text/javascript">
			$("#logout").click(function(){
  				window.sessionStorage.clear();
  				window.location.href = 'index.html';
				});
			function condition(event,num){
				// if ($(event).text().trim()=="首页") {
				// 	window.sessionStorage.removeItem('condition');
				// }
				window.sessionStorage.setItem('condition',num);
			}
			map1Function();
		</script>

	</body>
</html>